package com.baidu.shoppingmall.auth.service;

import com.baidu.shoppingmall.auth.domain.CommentDTO;
import com.baidu.shoppingmall.auth.domain.CommentPO;
import com.baidu.shoppingmall.auth.domain.CommentVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CommentService extends IService<CommentPO> {
    /**
     * 获取所有信息
     * @return
     */
    List<CommentDTO> getAll();

    /**
     * 新增评论
     * @param
     * @return
     */
    Integer insertNewComment(CommentDTO commentDTO);
}
